package cn.stard.system.mapper;

import cn.stard.system.domain.Permission;
import cn.stard.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author stard
 * @since 2022-07-11
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    Permission loadBySn(String permissionSn);

    List<String> loadOwnPermissionByLogininId(Long id);

//    List<Permission> listpermission(Long roleId);
}
